#include <iostream>

using namespace std;
const double PI=3.1415926;
class Circle{
private: double r;
public:
    double getR() {
        return r;
    }
    void setR(double r) {
        this->r = r;
    }
    double Perimeter(){
        return r*2*PI ;
    }
    double Area(){
        return PI*r*r ;
    }
};

int main()
{
    Circle cl1;
    cl1.setR(5);
    double area1 = cl1.Area();
    double perimeter1 =cl1.Perimeter();
    cout<<"Area is "<<area1<<".Perimeter is "<<perimeter1<<endl;
    return 0;
}
